.touchpad-container {
  position: absolute;
  top: 0;
  left: 0;

  height: 100%;
  width: 100%;
}

.touchpad-container * {
  user-select: none;
}

.debugger-input {
  position: absolute;
  left: 0;
  z-index: 2;

  width: 100%;

  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

html.portrait .debugger-input {
  bottom: 0;
}

html.landscape .debugger-input {
  top: 0;
}

.debugger-input {
  background-color: rgba(0, 0, 0, 0.5);
}

.debugger-input button {
  padding: 12px;
  font-size: 2em;
}

.mobile-rom-source {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
}

.mobile-rom-source button {
  background-color: transparent;
  font-size: 25px;
  margin: 20px;
  border: solid 2px black;
}

.touchpad-container svg {
  width: 100%;
  height: 100%;

  padding: 3px;
  overflow: visible;
  cursor: pointer;
}

.touchpad-container svg path,
.touchpad-container svg rect {
  stroke: #000;
  stroke-width: 2px;
}

.touchpad-container svg text,
.touchpad-container svg polygon {
  stroke: #000;
  stroke-width: 1px;
}

.touchpad-container svg text {
  font-size: 80px;
  font-weight: 700;
  text-transform: capitalize;
}

.gameboy-input {
  position: relative;
  top: 0;
  left: 0;

  height: 100%;
  width: 100%;
}

.gameboy-input__select svg text,
.gameboy-input__start svg text {
  font-size: 23px;
}

/* PORTRAIT */

html.portrait .gameboy-input__dpad {
  width: 37vw;
  height: 37vw;
  max-width: 170px;
  max-height: 170px;

  position: absolute;
  z-index: 1;
  bottom: 27.5%;
  left: 5%;
}

html.portrait .gameboy-input__b {
  width: 20vw;
  height: 20vw;
  max-width: 95px;
  max-height: 95px;

  position: absolute;
  z-index: 1;
  bottom: 27.5%;
  right: 21%;
}

html.portrait .gameboy-input__a {
  width: 20vw;
  height: 20vw;
  max-width: 95px;
  max-height: 95px;

  position: absolute;
  z-index: 1;
  bottom: 37.5%;
  right: 3%;
}

html.portrait .gameboy-input__select {
  width: 19.5vw;
  height: 19.5vw;
  max-width: 100px;
  max-height: 100px;

  position: absolute;
  z-index: 1;
  left: 25.5%;
  bottom: 13%;
}

html.portrait .gameboy-input__start {
  width: 19.5vw;
  height: 19.5vw;
  max-width: 100px;
  max-height: 100px;

  position: absolute;
  z-index: 1;
  left: 51.5%;
  bottom: 13%;
}

/* LANDSCAPE */

html.landscape .gameboy-input__dpad {
  width: 20vw;
  height: 20vw;
  position: absolute;
  z-index: 1;
  top: calc(50% - 13vw);
  left: 5%;
}

html.landscape .gameboy-input__b {
  width: 12vw;
  height: 12vw;
  position: absolute;
  z-index: 1;
  top: calc(50% - 5vw);
  right: 15%;
}

html.landscape .gameboy-input__a {
  width: 12vw;
  height: 12vw;
  position: absolute;
  z-index: 1;
  top: calc(50% - 13vw);
  right: 1%;
}

html.landscape .gameboy-input__select {
  width: 22.5vh;
  height: 22.5vh;
  position: absolute;
  z-index: 1;
  left: 30.5%;
  bottom: 7%;
}

html.landscape .gameboy-input__start {
  width: 22.5vh;
  height: 22.5vh;
  position: absolute;
  z-index: 1;
  left: 54.5%;
  bottom: 7%;
}
